function potentiallyBuggyCode() {
    debugger;
    // do potentially buggy stuff to examine, step through, etc.
    var a= 6;
    console.debug(a);
  }

potentiallyBuggyCode();